package com.moonstar.service;

import com.moonstar.pojo.MessageDO;

import java.util.List;
import java.util.Map;

public interface MessageService {

    List<MessageDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(MessageDO messageDO);

    List<MessageDO> query(Long meId, Long toId);
}
